app_name = "zelin_shoe_biz"
app_title = "Shoe Biz"
app_publisher = "yuxinyong"
app_description = "Shoe Biz"
app_email = "yuxinyong@1563.com"
app_license = "agpl-3.0"

app_include_js = ["zelin_shoe_biz.bundle.js"]

doctype_js = {
	"Sales Order" : "public/js/sales_order.js",
	"Delivery Note" : "public/js/delivery_note.js"
}

override_doctype_class = {
	# 外发加工直运，在无库存时做出库，打装箱单，形式发票，后续开票
 	"Delivery Note": "zelin_shoe_biz.overrides.Zelin_Shoe_BizDeliveryNote"
}

doc_events = {
	"Delivery Note": {
		"validate": "zelin_shoe_biz.doc_events.delivery_note_validate",		
 		"on_submit": "zelin_shoe_biz.doc_events.delivery_note_update_size_qty",
		"on_cancel": "zelin_shoe_biz.doc_events.delivery_note_update_size_qty",
	},
}